#ifndef LOG_MODULE_H
#define LOG_MODULE_H

#include <singleton.h>

class CLogModule : public CSingleton<CLogModule>
{
public:
    bool Init();
protected:
    bool _Load(const char * szFileName);
protected:
    std::string m_strPrintSrcFileName;
    std::string m_strPrintLineNum;
    std::string m_strPrintCriticalInfo;
    std::string m_strPrintImportantInfo;
    std::string m_strPrintCommonInfo;
    std::string m_strPrintUserCriticalInfo;
    std::string m_strPrintUserImportantInfo;
    std::string m_strPrintUserCommonInfo;
    std::string m_strPrintDebugInfo;
    std::string m_strLogFileHeader;
};

#endif  //endif of LOG_MODULE_H
